net/http.Transport.idleLRU (field)
9 uses
net/http (current package)
transport.go#L100: idleLRU connLRU
transport.go#L785: t.idleLRU = connLRU{}
transport.go#L940: if pconn.alt != nil && t.idleLRU.m[pconn] != nil {
transport.go#L997: t.idleLRU.add(pconn)
transport.go#L998: if t.MaxIdleConns != 0 && t.idleLRU.len() > t.MaxIdleConns {
transport.go#L999: oldest := t.idleLRU.removeOldest()
transport.go#L1080: t.idleLRU.remove(pconn)
transport.go#L1119: t.idleLRU.remove(pconn)
transport.go#L2012: if _, ok := t.idleLRU.m[pc]; !ok {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |